<div id="result">
<?php echo $this->Session->flash(); ?>
<?php echo $this->Form->create('Shipping');?>
<div class="div_header1"><?php __('Edit Shipping'); ?></div>
	<?php
		echo $this->Form->input('id');		
		echo $this->Form->input('shipping_method',array('size'=>'30','class'=>'required','title'=>'Enter shipping method'));
		echo $this->Form->input('weight_min',array('size'=>'30','class'=>'required','title'=>'Enter Weight min. ex.:x.00'));
		echo $this->Form->input('weight_limit',array('size'=>'30','class'=>'required','title'=>'Enter Weight limit ex.:x.00'));
		echo $this->Form->input('shipping_cost',array('class'=>'required','title'=>'Enter Shipping cost ex.:x.00'));		
		
	?>
<input type="submit" value="Update" id="Save" name="Save" style="background: none repeat scroll 0% 0% rgb(115, 174, 11); color: rgb(255, 255, 255); font-size: 14px;">
</form>

</div>
<?php  echo $html->script(array("jquery.min.js","jquery.form.js","jquery.validate.js","jquery.pagination.js","jquery.tablesorter.min.js","jquery.tablednd.js")); ?>	 
<script type="text/javascript">  
 jQuery(document).ready(function(){
 var v = jQuery("#ShippingEditForm").validate({
			submitHandler: function(form) {				
				jQuery(form).ajaxSubmit({				
					target: "#result"
				});
			}
		});
	});
		
</script>